package com.yxcz.service;

import java.util.ArrayList;

import com.yxcz.model.Document;

/**
 * 处理文档服务
 * @author blank
 *
 */
public interface DocumentService {
  
	public void add(String content,String name,Integer uid) throws Exception;

	public Document get(int i);

	public ArrayList<Document> list();

	public void delete(Integer id);

	public void update(Document doc);

	
}
